package com.jk.service;

import com.jk.entity.TUser;
import com.jk.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Created by XSJ on 2017/12/19.
 */
@Service("hellowService")
public class HellowServiceImpl implements HellowService {
    //注入到usermapper中
    @Autowired
    private UserMapper userMapper;


    public List<TUser> sayHellow() {

        return  userMapper.sayHellow();
    }
}
